#ifndef NEWFRIENDAPPLYBTN_H
#define NEWFRIENDAPPLYBTN_H

#include <QWidget>
#include "UserLayer/GUI/FriendApplyWidget/friendapplywidget.h"
namespace Ui {
class NewFriendApplyBtn;
}

class NewFriendApplyBtn : public QWidget
{
    Q_OBJECT

public:
    explicit NewFriendApplyBtn(QWidget *parent = nullptr);
    ~NewFriendApplyBtn();
    void addCount();
    void setCount(const int num);
    int getCount();
    void setUseroc(const QString& useroc);
    void checkCount();
    void setParent(QWidget* parent);
signals:

private slots:
    void applyWidgetClose();
    void on_pushButton_clicked();

private:
    Ui::NewFriendApplyBtn *ui;
    int count;
    bool iswidgetshowing;
    QString useroc;
    QWidget* parent;
};

#endif // NEWFRIENDAPPLYBTN_H
